<template>
    <div class="header">
        <el-button class="back-btn" link @click="backBtn">返回上一级</el-button>
    </div>
</template>

<script setup>
const emit = defineEmits(['back-btn'])

function backBtn() {
    emit('back-btn')
}
</script>
<style scoped lang="scss">
.header {
    padding-left: 40px;
    border-bottom: 1px solid #DDDDDD;
    box-sizing: border-box;
    height: 60px;
    display: flex;
    align-items: center;

    .back-btn {
        font-weight: bold;
        font-size: 16px;
        color: #3872A9;
    }
}
</style>